{extend name='base'}
{block name='content'}
<div class="art-cont">
    <div class="row">
        <div class="col-2 art-tit" >
            <div class="nav flex-column nav-pills" id="v-pills-tab" >
                <a class="nav-link active" id="v-pills-home-tab" data-toggle="pill" href="#v-pills-home" >政策文件</a>
                <a class="nav-link" id="v-pills-profile-tab" data-toggle="pill" href="#v-pills-profile" >考试资料</a>
            </div>
        </div>
        <div class="col-10 art-main">
            <div class="tab-content" id="v-pills-tabContent">
                <div class="tab-pane fade show active" id="v-pills-home" >
                    <div class="art-title">
                        <div class="art-b-title">
                            政策文件
                        </div>
                        <div class="art-s-title">
                            NEWS
                        </div>
                    </div>
                    <ul>
                        {foreach $artList as $v}
                        {if $v.art_type==1}
                        <li>
                            <img src="http://study.tongpankt.com/files/course/2020/04-16/2313266af25c067170.png" alt="">
                            <div class="art-list">
                                <i class="iconfont">&#xe629;</i><a href="{:url('index/article/read',['art_id'=>$v.art_id])}">{$v.art_name}</a>
                                <span><i class="iconfont">&#xe600;</i>{:date('Y-m-d',$v.art_creat_time)}</span>
                            </div>

                        </li>
                        {/if}
                        {/foreach}

                    </ul>
                </div>
                <div class="tab-pane fade" id="v-pills-profile" >
                    <div class="art-title">
                        <div class="art-b-title">
                            考试资料
                        </div>
                        <div class="art-s-title">
                            EXAM
                        </div>
                    </div>
                    <ul>
                        {foreach $artList as $v}
                        {if $v.art_type==2}
                        <li>
                            <img src="http://study.tongpankt.com/files/course/2020/04-16/2313266af25c067170.png" alt="">
                            <div class="art-list">
                                <i class="iconfont">&#xe629;</i><a href="{:url('index/article/read',['art_id'=>$v.art_id])}">{$v.art_name}</a>
                                <span><i class="iconfont">&#xe600;</i>{:date('Y-m-d',$v.art_creat_time)}</span>
                            </div>

                        </li>
                        {/if}
                        {/foreach}

                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>
{/block}